package com.government.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.government.common.annotation.Excel;
import com.government.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 轮播广告对象 t_banner
 * 
 * @author system
 * @date 2023-11-17
 */
@TableName("t_banner")
@Data
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO )
    private Long id;

    /** 图片 */
    private String img;

    /** 链接 */
    @Excel(name = "链接")
    private String url;

    /** 排序号 */
    @Excel(name = "排序号")
    private Long sort;

    /** 类型 1-PC  2-小程序 */
    @Excel(name = "类型 1-PC  2-小程序")
    private String type;

}
